package com.BlogPark.pojo;

import lombok.Data;
import org.springframework.stereotype.Repository;

import java.sql.Date;


/**
 * @Auther: 传说
 * @Date: 2022/8/18
 * 作用：用户信息表
 */

@Data
@Repository
public class DetailsUser {
    private int userId;
    private String name;
    private String gender;
    private String personalProfile;
    private String area;
    private Date birthday;
    private String schoolName;
    private String major;
    private String corporateName;
    private String position;

    private int fans;
    private int views;
    private int likes;
    private int comments;
    private int collections;
    private String profilePhoto;


    public DetailsUser() {
    }


    public DetailsUser(int userId, String name, String gender, String personalProfile, String area, Date birthday, String schoolName, String major, String corporateName, String position, int fans, int views, int likes, int comments, int collections,String profilePhoto) {
        this.userId = userId;
        this.name = name;
        this.gender = gender;
        this.personalProfile = personalProfile;
        this.area = area;
        this.birthday = birthday;
        this.schoolName = schoolName;
        this.major = major;
        this.corporateName = corporateName;
        this.position = position;
        this.fans = fans;
        this.views = views;
        this.likes = likes;
        this.comments = comments;
        this.collections = collections;
        this.profilePhoto = profilePhoto;
    }
}
